/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model1;

public class LoginBean {

    public boolean login(String userName, String password) {
        if (userName == null || password == null
                || !((userName.equals("Radikstya") && password.equals("105314058"))||(userName.equals("Kristopel") && password.equals("105314068"))||(userName.equals("Jecky") && password.equals("105314071")))) {
            return false;
        } else {
            return true;
        }
    }
}
